import axios from "@ohos/axios"
import { AxiosInstance } from "@ohos/axios"


var _axios: AxiosInstance = null;

export function getAxios() {
  if (_axios) {
    return _axios
  }
  // 在这里写一些初始化函数
  return _axios = axios.create({
    baseURL: 'http://jiazixin.xyz:80'
  });

}